package com.gxcc3.ygps.system.service;

import com.gxcc3.ygps.common.core.domain.TreeEntity;
import com.gxcc3.ygps.common.core.domain.entity.SysCheckGoodsCategory;

import java.util.List;

public interface ISysCheckGoodsCategoryService {


    /**
     * 获取商品分类树
     * @return 商品分类树
     */
    List<SysCheckGoodsCategory> selectGoodsCategoryList();

    /**
     * 构建商品分类树
     * @param list 商品分类列表
     * @return 商品分类树
     */
    List<TreeEntity> buildGoodsCategoryTree(List<SysCheckGoodsCategory> list);
}
